package org.builder.bean.validator;

import java.util.ArrayList;
import java.util.List;

public class Field {

	private String name;
	private String type;
	private List<String> depends=new ArrayList<String>();
	private String required;
	
	public void addDepends(String depend){
		depends.add(depend);
	}
	
	public List<String> getDepends() {
		return depends;
	}
	public void setDepends(List<String> depend) {
		this.depends = depend;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}

	public String getRequired() {
		return required;
	}

	public void setRequired(String required) {
		this.required = required;
	}
	
}
